package org.niugang.bean;
/**
 * 异步调用错误统一处理类
 * Copyright: Copyright (c) 2018 863263957@qq.com
 * 
 * @ClassName: CustomErrorType.java
 * @version: v1.0.0
 * @author: niugang
 * @date: 2018年9月19日 下午5:46:04
 */
public class CustomErrorType {
	/**
	 * 状态码
	 */
	private int status;
	/**
	 * 错误信息
	 */
	private String message;

	private String exception;
	
	private String error;
	private long timestamp;
	
	public CustomErrorType() {
		super();
	}

	public CustomErrorType(int status, String message) {
		super();
		this.status = status;
		this.message = message;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	
}
